<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
 <base href="<%=basePath%>">
<meta charset="UTF-8">
<title>Insert title here</title>
<style type="text/css">
td{text-align: center;height:50px;border:1px solid white;}
a{text-decoration: none;color:red;font-weight: bold;}
td{background-color: #ececec;width:100px;}
.one{background-color: rgb(0,205,193);color:white;}
table{width:80%;margin: 0 auto;}
</style>
</head>
<body>
<Br><Br><Br>
<table cellpadding="0" cellspacing="0" >
<tr><td class="one">经验主题</td><td>经验内容</td><td>发布时间</td><td>图片</td><td>管理</td></tr>
<c:forEach items="${list}" var="common" varStatus="status"> 
<Tr>
     
     <td class="one">${common.common_title }</td>
      <td style="width:300px;">${common.common_message}</td>
       <td>${common.common_date }</td>
       <td><img src="images/${common.common_img}" width="80" height="80"/></td>
       <td><a href="userDeleteCommon?common_id=${common.common_id }">删除</a></td>
</Tr>
</c:forEach>
</table>
<h1 style="color:red;">${mess}</h1>
</body>
</html>